<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-tiles"
	prefix="tiles"%>

<rich:panel header="#{messages['sub.agent.commission.schema']}">
	<h:panelGrid>
		<h:outputText value="#{errorBean.errorMessage}" styleClass="error"></h:outputText>
	</h:panelGrid>

	<t:panelGrid columns="2" columnClasses="standardTable_ColumnLeft_20,standardTable_ColumnLeft_80" width="100%">
	
		<h:panelGroup>
			<h:outputLabel for="code" value="#{messages['code']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="code"  styleClass="standardText" value=""></t:outputText>
		</h:panelGroup>
		
		<h:panelGroup>
			<h:outputLabel for="name" value="#{messages['name']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="name"  styleClass="standardText" value=""></t:outputText>
		</h:panelGroup>
		
		<h:panelGroup>
			<h:outputLabel for="desc" value="#{messages['desc']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="desc" value=""></t:outputText>
		</h:panelGroup>
		
		
		<h:panelGroup>
			<h:outputLabel for="commissiontype" value="#{messages['accumulate.type']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:outputText id="commissiontype"  styleClass="standardText" value=""></t:outputText>
		
		
		<h:panelGroup>
			<h:outputLabel for="type" value="#{messages['commission.type']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:outputText id="type"  styleClass="standardText" value=""></t:outputText>
		
		
		<h:panelGroup>
			<h:outputLabel for="membershipcategory" value="#{messages['membership.category']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:outputText id="membershipcategory"  styleClass="standardText" value=""></t:outputText>
		
		
		<h:panelGroup>
			<h:outputLabel for="valuetype" value="#{messages['membership.category']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<t:outputText id="valuetype"  styleClass="standardText" value=""></t:outputText>
		
		<h:panelGroup>
			<h:outputLabel for="value" value="#{messages['value']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:outputText id="value" value=""></t:outputText>
		</h:panelGroup>
	
		<h:panelGroup>
			<h:outputText value="#{messages['payment.range']}" styleClass="standardText_Label" />
		</h:panelGroup>
		<h:panelGroup>
			<t:panelGrid columns="3" width="60%">
				<h:outputText  value="#{messages['from']}" styleClass="standardText_Label" />
				<h:outputText  value="#{messages['to']}" styleClass="standardText_Label" />
				<h:outputText  value="#{messages['percent']}" styleClass="standardText_Label" />
				
				<t:outputText  styleClass="standardText" value="1"></t:outputText>
				<t:outputText  styleClass="standardText" value="10000"></t:outputText>
				<t:panelGroup>
					<t:outputText  styleClass="standardText" value="">
					</t:outputText>
					<f:verbatim>&nbsp;</f:verbatim>
					<h:outputText styleClass="standardText_Label" value="#{messages['percent']}"></h:outputText>
				</t:panelGroup>
				
				<t:outputText  styleClass="standardText" value="10000"></t:outputText>
				<t:outputText  styleClass="standardText" value=""></t:outputText>
				<t:panelGroup>
					<t:outputText   styleClass="standardText" value="">
					</t:outputText>
					<f:verbatim>&nbsp;</f:verbatim>
					<h:outputText styleClass="standardText_Label" value="#{messages['percent']}"></h:outputText>
				</t:panelGroup>
				
			</t:panelGrid>
		</h:panelGroup>
		
	
	    <h:panelGroup>
		    <h:outputLabel for="effectivedate" value="#{messages['effective.date']}" styleClass="standardText_Label" />
	    </h:panelGroup>
	    <h:panelGroup>
	    	<t:outputText  styleClass="standardText" value=""></t:outputText>
	    </h:panelGroup>
	    
	    <h:panelGroup>
		    <h:outputLabel for="expirydate" value="#{messages['expiry.date']}" styleClass="standardText_Label" />
	    </h:panelGroup>
	    <h:panelGroup>
	    	<t:outputText  styleClass="standardText" value=""></t:outputText>
	    </h:panelGroup>
		
	</t:panelGrid>
	
	<rich:spacer height="30"></rich:spacer>
	
	<t:panelGrid columns="1"  width="100%">
		<h:commandButton value="#{messages['back']}" styleClass="button"></h:commandButton>
	</t:panelGrid>
	
</rich:panel>